MUFG APF - Payment Conversion Tool Change Log.

============================================
2024-06-04 Fixes (11:16 2024-06-04)
Dev: [KF]

Ref document : Skype chat.

PaymentCreationTool - v2.0.2
Common.Data - v1.0.3
JomPay.Data - v1.0.2


=== ISSUES REPORTED ===

Issue 1:
- Biller Maintenance. Datagridview crash when no items.

Changed files :
PaymentCreationTool\frmJompayBiller
PaymentCreationTool\frmSelectFavouriteBiller

-------------------------
Issue 2:

When login as Administrator and choose a user to edit, the Enter and Re-enter textboxes are blank. we can also click the Update button to update the blank password. suggest to populate back the password in the Enter and Re-enter textboxes.

[FIXED 2024-06-04 13:56:48] - Added new UI toggle to optionally enable pwd entry during user edit. Otherwise pwd fields will be disabled and not used (existing user pwd unchanged).

Changed files :
PaymentCreationTool\FrmAddUpdateUserProfile

-------------------------
Issue 3:
- Deleting Billers should allow associated payments to be re-assignable to new billers.

Changed files :
PaymentCreationTool\frmAddUpdateJompayBillPayment
PaymentCreationTool\frmJompayBillPayment
PaymentCreationTool\frmJompayExport
Jompay.Data\JompayPaymentComponent

-------------------------
Issue 4:
User created cannot login. Login failed message.

[Not bug]
[Resolved 2024-06-04 13:13:03] - Need to perform Company setup and User creation in sequence. User are matched based on CompanyName and UserId. Changed file to catch database error during user login.

Changed files :
Common.Data\CommonHelper.cs

------------------------

New Company and User Setup steps :
0. Empty the access database. Ensure password protected (using MS Access).
1. Point PCT tool to correct access DB. Launch PCT.
2. Login as Bank Admin Id.
3. Click File > Company Profile. Update company name and details. Click Save. (New company name for LoginView saved to local profile.dat file).
4. Click File > User Profile. Add user and access details. Click Save. (check the company names for the users match company profile name).
5. We may now login as the new user using File > Switch Login ID.

Note:
Whenever any user unable to login, likely caused by user company and profile.dat company name mismatch.
FIX > login as MUFGAdmin1, File > Company. Click Save (updates profile.dat, will update all user records' company names as well).


============================================
2024-01-14 Fixes (12:32 2024-01-14)
Dev: [KF]

Ref document : PCT_Gap_Analysis_&_Defect_20231208.xlsx

PCT - v2.0.1
Common.Data - v1.0.2
JomPay.Data - v1.0.1


=== Bugfix ===
- [User Mode] #9 BF014-Import function. Detect, display and deny import of duplicate Jompay Payment Import Data (with similar "BillerCode + RRN1 + RRN2" values). Fix duplicate flag checking bug. Now will skip import of duplicate payment and Favourite Biller records.

*Note: Existing favourite billers will NOT be auto-deleted on Payment data import. Please manually delete if required. Each UserId maintains their own list of Favourite Billers, and these are not visible to other users.


- [User Mode] #9 BF014-Update function. Fix duplicate flag checking bug. Now will skip import of duplicate payment and Favourite Biller records.

- [User Mode] #10 BF014-Import function. Fix Single record and multi-record import handling to skip all duplicate records.


=== UI Change ===
- [User Mode] Add "Clear" (Delete All) button for Favourite Billers view.


=== Logic Change ===
- [Admin/User Mode] Login UserId now use DB UserId value. This is to prevent different upper and lowercase UserId value stored into CreatedBy/UpdatedBy columns, when user logs in with different charecter case UserId (Login using 'User01' is now same as 'user01', the userId value will use DB UserTable record value of 'User01').
*No impact if user always login using DB UserId character case "User01" with capital U.


Files affected:
PaymentConversionTool
\Jompay\frmJompayImport.cs
\Jompay\frmJompayFavouriteBiller.cs
\Jompay.Data\JompayHelper.cs
\Jompay.Data\JompayFavouriteBillerComponent.cs
\Common.Data\CommonHelper.cs



============================================
2023-10-12 Fixes (02:36 2023-10-12)
Dev: [KF]

Ref document : PCT_Gap_Analysis_&_Defect_List_10102023.xlsx

- [User Mode] BF011-Add Favourite Biller text search function to include RRN1 and RRN2 field values.
- [User Mode] BF014-Detect, display and deny import of duplicate Jompay Payment Import Data (with similar "BillerCode + RRN1 + RRN2" values).


Files affected:
PaymentConversionTool
\Jompay\frmJompayImport.cs
\Jompay\frmJompayFavouriteBiller.cs

============================================

